<hr width="60">
<p>

<div id="middleForm">

<!-- <h3> THIS DOES NOT WORK...YET. PLEASE DO NOT TRY TO USE IT. IT MAY DO STUPIDLY OBNOXIOUS THINGS </h3> 
<p> Why is this page here then ?.. I need your opinion, on how this screen should look and what kind of functionality you want. 
--> 

<form id="updateForm" method="post" action="mass_update.php"> 
 <!-- Give an Entire List of domains the user would want to update --> 
 <table class="ltGreydkGreyBorder" width="100%"> 
<tr>
 <td colspan="5"> <img src="{$web_root}/images/arrow_down.png"> 
<a href="#" onclick="checkAll('updateForm', 'checkid[]', true);"> <b> All </b> </a> 
&middot; 
 <a href="#" onclick="checkAll('updateForm', 'checkid[]', false);"> <b> None  </b> </a> 
</td> 
</tr>  

<tr>
 <th class="ltBlueformHeader" width="5%"> Select </th> 
 <th class="ltBlueformHeader"> Domain Name </th>
 <th width="10%" class="ltBlueformHeader"> Default Ip  </th> 
 <th width="10%" class="ltBlueformHeader"> TTL  </th> 
 <th width="10%" class="ltBlueformHeader"> Serial </th> 

</tr>

<!-- Start List of Domains --> 
{section name="oldRecords" loop="$dnsRecords"}
<tr bgcolor="{cycle values="#eeeeee,#d0d0d0" }" >
<td ><center>  
<input type="checkbox" name="checkid[]" value="{$dnsRecords[oldRecords].fqdnid}"></center></tD> 
<td >{$dnsRecords[oldRecords].fqdn}
</td>
<td width="10%"> {$dnsRecords[oldRecords].defaultip} </td> 
<td><div id="oldhostname{$smarty.section.oldRecords.index}">
 {$dnsRecords[oldRecords].ttl}</div> </td> 
<td> 
<div id="hostip{$smarty.section.oldRecords.index}" > 
{$dnsRecords[oldRecords].serial} </div></tD> 
</tr>
{/section} 


<tr bgcolor="#CCCCCC">
<td valign="top"> <img src="{$web_root}/images/arrow_up.png"> <a href="#" onclick="checkAll('updateForm', 'checkid[]', true);"> <b> All </b></a> &middot; 
<a href="#" onclick="checkAll('updateForm', 'checkid[]', false);"> <b> None </b> </a> </td> 
<td align="center"> <strong> Change Group : </strong> <select name="group_name"><option></option>{$serverGroups} </select></td>
<td>  Change IP to : </tD> <tD> <input type="text" class="TextBox" name="newmultipleip"> </td>
<td> <input type="submit" class="loginButton" name="action" value="Change IPs"> </td>    
 
</tr>  

</table>
 
 </form>  
